<!DOCTYPE html>
<html lang="zh-CN">
<head>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/static/home/css/userinfo.css">
    <title>Error</title>
    
    <style>
        .chnl-error__container {
            background-color: #ffffff;
            color: #000000;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            line-height: 1.6;
        }
        
        .chnl-error__wrapper {
            width: 100%;
            max-width: 400px;
            text-align: center;
            padding: 40px;
        }
        
        .chnl-error__logo {
            margin-bottom: 30px;
        }
        
        .chnl-error__logo-svg {
            width: 120px;
            height: auto;
        }
        
        .chnl-error__title {
            font-size: 24px;
            font-weight: 300;
            letter-spacing: 1px;
            margin-bottom: 30px;
            text-transform: uppercase;
        }
        
        .chnl-error__message {
            background-color: #f8f8f8;
            border-left: 3px solid #000;
            padding: 15px;
            margin-bottom: 30px;
            text-align: left;
            font-size: 14px;
        }
        
        .chnl-error__form-group {
            margin-bottom: 20px;
            text-align: left;
        }
        
        .chnl-error__label {
            display: block;
            margin-bottom: 8px;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .chnl-error__input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            background-color: #f8f8f8;
            font-size: 14px;
            box-sizing: border-box;
        }
        
        .chnl-error__input:focus {
            outline: none;
            border-color: #000;
        }
        
        .chnl-error__button {
            width: 100%;
            padding: 12px;
            background-color: #000;
            color: #fff;
            border: none;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .chnl-error__button:hover {
            background-color: #333;
        }
        
        .chnl-error__link {
            display: inline-block;
            margin-top: 20px;
            color: #000;
            text-decoration: none;
            font-size: 12px;
            letter-spacing: 1px;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s;
        }
        
        .chnl-error__link:hover {
            border-bottom-color: #000;
        }
    </style>
</head>
<body class="chnl-error__container">
    
    {include file="/index/head"/}
    
    
    <div class="chnl-error__wrapper">
        <div class="chnl-error__logo">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M18 6L6 18" stroke="black" stroke-width="2" stroke-linecap="round"/>
              <path d="M6 6L18 18" stroke="black" stroke-width="2" stroke-linecap="round"/>
            </svg>
        </div>
        
        <h1 class="chnl-error__title">错误</h1>
        
        <div class="chnl-error__message">
            {$error}
        </div>
        
        <button class="chnl-error__button" onclick="window.location.href = 'login.html'">重新登录</button>
        <a href="/index" class="chnl-error__link">返回首页</a>
    </div>
    
    {include file="/index/foot"/}
</body>
</html>